package com.wbao.dianniu.listener;

public interface ICreateActivity {

	/**
	 * @param id	活动的ID，修改时必填，新增时为null
	 * @param accountId	
	 * @param subject
	 * @param startDate
	 * @param address
	 * @param maxPersion
	 * @param price
	 * @param content
	 * @param longitude
	 * @param latitude
	 * @param city
	 */
	public void apply(Integer id, int accountId, String subject, String startDate,
                      String address, int maxPersion, int price, String content,
                      String longitude, String latitude,String city);

	public boolean addCreateListener(ICreateActivityListener listener);

	public boolean removeCreateListener(ICreateActivityListener listener);
}
